﻿#region namespace

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

#endregion

namespace Cherry.Agile.Security
{
    /// <summary>
    /// 安全异常
    /// </summary>
    [Serializable]
    public class SecurityException:Exception
    {
        /// <summary>
        /// 
        /// </summary>
        public int StatusCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        public SecurityException(string message) : base(message) { }
        
        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="exp"></param>
        public SecurityException(string message ,Exception exp):base(message,exp)
        {

        }
    }
}
